home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung 2 / Power-Programmierung CD 2 (Tewi)(1994).iso / gnu / djgpp / src / gas-211 / gas / symbols.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-05-30  |  2.9 KB  |  79 lines

  1. /* symbols.h -
  2.  
  3.    Copyright (C) 1987, 1990, 1992 Free Software Foundation, Inc.
  4.  
  5.    This file is part of GAS, the GNU Assembler.
  6.  
  7.    GAS is free software; you can redistribute it and/or modify
  8.    it under the terms of the GNU General Public License as published by
  9.    the Free Software Foundation; either version 2, or (at your option)
  10.    any later version.
  11.  
  12.    GAS is distributed in the hope that it will be useful,
  13.    but WITHOUT ANY WARRANTY; without even the implied warranty of
  14.    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  15.    GNU General Public License for more details.
  16.  
  17.    You should have received a copy of the GNU General Public License
  18.    along with GAS; see the file COPYING.  If not, write to
  19.    the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
  20.  
  21. extern struct obstack notes;    /* eg FixS live here. */
  22.  
  23. extern struct obstack cond_obstack;    /* this is where we track .ifdef/.endif
  24.                        (if we do that at all).  */
  25.  
  26. extern symbolS *symbol_rootP;    /* all the symbol nodes */
  27. extern symbolS *symbol_lastP;    /* last struct symbol we made, or NULL */
  28.  
  29. extern symbolS abs_symbol;
  30.  
  31. extern symbolS *dot_text_symbol;
  32. extern symbolS *dot_data_symbol;
  33. extern symbolS *dot_bss_symbol;
  34.  
  35. char *decode_local_label_name PARAMS ((char *s));
  36. symbolS *symbol_find PARAMS ((CONST char *name));
  37. symbolS *symbol_find_base PARAMS ((CONST char *name, int strip_underscore));
  38. symbolS *symbol_find_or_make PARAMS ((char *name));
  39. symbolS *symbol_make PARAMS ((CONST char *name));
  40. symbolS *symbol_new PARAMS ((CONST char *name, segT segment, long value,
  41.                  fragS * frag));
  42. void colon PARAMS ((char *sym_name));
  43. void local_colon PARAMS ((int n));
  44. void symbol_begin PARAMS ((void));
  45. void symbol_table_insert PARAMS ((symbolS * symbolP));
  46. void verify_symbol_chain PARAMS ((symbolS * rootP, symbolS * lastP));
  47.  
  48. #ifdef LOCAL_LABELS_DOLLAR
  49. int dollar_label_defined PARAMS ((long l));
  50. void dollar_label_clear PARAMS ((void));
  51. void define_dollar_label PARAMS ((long l));
  52. char *dollar_label_name PARAMS ((long l, int augend));
  53. #endif /* LOCAL_LABELS_DOLLAR */
  54.  
  55. #ifdef LOCAL_LABELS_FB
  56. void fb_label_instance_inc PARAMS ((long label));
  57. char *fb_label_name PARAMS ((long n, long augend));
  58. #endif /* LOCAL_LABELS_FB */
  59.  
  60. #ifdef BFD_ASSEMBLER
  61. extern int S_IS_EXTERNAL PARAMS ((symbolS *));
  62. extern int S_IS_COMMON PARAMS ((symbolS *));
  63. extern int S_IS_DEFINED PARAMS ((symbolS *));
  64. extern int S_IS_DEBUG PARAMS ((symbolS *));
  65. extern int S_IS_LOCAL PARAMS ((symbolS *));
  66. extern int S_IS_EXTERN PARAMS ((symbolS *));
  67. extern int S_IS_STABD PARAMS ((symbolS *));
  68. extern int S_GET_VALUE PARAMS ((symbolS *));
  69. extern CONST char *S_GET_NAME PARAMS ((symbolS *));
  70. extern segT S_GET_SEGMENT PARAMS ((symbolS *));
  71. extern void S_SET_VALUE PARAMS ((symbolS *, long));
  72. extern void S_SET_SEGMENT PARAMS ((symbolS *, segT));
  73. extern void S_SET_EXTERNAL PARAMS ((symbolS *));
  74. extern void S_SET_NAME PARAMS ((symbolS *, char *));
  75. extern void S_CLEAR_EXTERNAL PARAMS ((symbolS *));
  76. #endif
  77.  
  78. /* end of symbols.h */
  79.